/**
 * Copyright (C), 2019-2023,
 * FileName: ContactTree
 * Author:   fanxquer
 * Date:     2023/7/10 11:26
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 邱富康           2023/7/10           1.0
 */
package com.hsteach.web.controller.visit.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.framework.feign.client.xgk.dto.ret.Guardian;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 〈〉
 *
 * @author Qiu Fukang
 * @create 2023/7/10
 * @since 1.0.0
 */
@ApiModel(value = "ListReservationVo", description = "查询学生列表")
@Data
public class ListReservationVo {

    @ApiModelProperty(value = "学生id", required = true)
    private String personId;

    @ApiModelProperty(value = "姓名", required = true)
    private String personName;

    @ApiModelProperty(value = "性别", required = true)
    private String sex;

    @ApiModelProperty(value = "家访名称", required = true)
    private String visitName;

    @ApiModelProperty(value = "手机号", required = false)
    private String mobile;

    @ApiModelProperty(value = "预约开始时间", required = false)
    @JsonFormat(pattern = "MM月dd日HH:mm")
    private Date beginTime;

    @ApiModelProperty(value = "预约结束时间", required = false)
    @JsonFormat(pattern = "HH:mm")
    private Date endTime;

    @ApiModelProperty(value = "预约Id", required = false)
    private Long reservationId;

    @ApiModelProperty(value = "家访记录Id", required = false)
    private Long recordId;

    @ApiModelProperty(value = "家访记录Id", required = false)
    private List<Guardian> guardianList;

}